let mongoose = require('mongoose');
mongoose
  .connect(
    'mongodb+srv://1402758464:wjl123456@cluster0.c1em3.mongodb.net/House'
  )
  .then(() => {
    console.log('ok');
  })
  .catch((err) => {
    console.log(err);
  });

module.exports = mongoose;
